package com.sg.dto.biz.pbff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc BffBizSceneHostTypeDto
 * @使用场景
 */
@Data
public class BffBizSceneHostTypeDto implements Serializable {

    /**
     * 推荐的宿主类型ID
     */
    @ApiModelProperty("推荐的宿主类型ID")
    private String hostTypeId;

    /**
     * 宿主类型编码
     */
    @ApiModelProperty("宿主类型编码")
    private String hostTypeCode;

    /**
     * 宿主类型名称
     */
    @ApiModelProperty("宿主类型名称")
    private String hostTypeName;

    /**
     * 是否推荐 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否推荐")
    private String isRecommend;

    /**
     * 操作人就职记录ID
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 个人资料记录ID
     */
    @ApiModelProperty("个人资料记录ID")
    private String personalDataId;

    /**
     * 个人账号ID
     */
    @ApiModelProperty("个人账号ID")
    private String userId;

    /**
     * 真实头像
     */
    @ApiModelProperty("真实头像")
    private String userFace;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffBizSceneHostTypeDto that = (BffBizSceneHostTypeDto) o;
        return hostTypeId == that.hostTypeId && hostTypeCode == that.hostTypeCode && hostTypeName == that.hostTypeName && isRecommend == that.isRecommend && operationInductionId == that.operationInductionId && personalDataId == that.personalDataId && userId == that.userId && userFace == that.userFace && idCardName == that.idCardName && nickName == that.nickName && operateTime == that.operateTime;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), hostTypeId, hostTypeCode, hostTypeName, isRecommend, operationInductionId, personalDataId, userId, userFace, idCardName, nickName, operateTime);
    }


}
   